<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/7/22
  Time: 15:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
    <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#get").click(function(){
                  var url='house.action';
                $.ajax({
                    url:url,
                    type:"post",
                    dataType:"json",
                    success:function(data){

                    }
                })
                )
            })
        })
    </script>
</head>
<body>

测试

<s:property value="%{user.userName}"></s:property>
<p id="p"><input type="button" id="get" value="列表"></p>
<ul id="list">
</ul>

</body>
</html>
